package cn.wolfcode.wolf2w.redis;


import cn.wolfcode.wolf2w.domain.UserInfo;

import java.util.List;

/*
 * 用户信息缓存服务
 * */
public interface IUserInfoRedisService {


    void sendVerifyCode(String phone, String code);

    String getVerifyCode(String phone);

    String setToken(UserInfo userInfo);

    UserInfo getUserInfo(String token);


}
